import { RouterProvider } from "react-router-dom"
import router from "./router"
import { message, ConfigProvider } from 'antd'

// 全局配置消息
message.config({
  top: 100,
  duration: 3,
  maxCount: 3,
});

function App() {
  return (
    <ConfigProvider
      theme={{
        token: {
          // 可以在这里自定义主题
        },
      }}
    >
      <RouterProvider router={router}></RouterProvider>
    </ConfigProvider>
  )
}

export default App
